﻿<Window x:Class="sunsetmp.DialogWindow.DownloadQuestionWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    WindowStyle="None" DataContext="{Binding}"  Title="Предупреждение" AllowsTransparency="True" Background="{x:Null}" Foreground="{x:Null}" Height="195" Width="362" StateChanged="Window_StateChanged_1" Icon="/Themes/Icons/Logo.ico">
    <Border CornerRadius="7,7,7,7" Background="{DynamicResource MyBackground}" BorderThickness="1" BorderBrush="Black" MouseLeftButtonDown="Grid_MouseLeftButtonDown_1">
        <Grid>
            <Grid Height="20" Width="20" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="-1,1,1,-1">
                <Button x:Name="CloseW" Click="CloseW_Click"  />
                <Path Data="{StaticResource closeStyle0}" HorizontalAlignment="Center" Fill="{DynamicResource MyItemColor}" Stretch="Fill" IsEnabled="False" AllowDrop="False" IsHitTestVisible="False" RenderTransformOrigin="0.5,0.5"  >
                    <Path.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="0.7" ScaleY="0.7"/>
                        </TransformGroup>
                    </Path.RenderTransform>
                </Path>
            </Grid>
            <Label x:Name="Label" Content=""  HorizontalAlignment="Center" Margin="0,21,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MyTextColor}" FontSize="14"/>
            <Label Content="уже существет."  HorizontalAlignment="Center" Margin="0,42,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MyTextColor}" FontSize="14"/>
            <Label Content="Что же делать?"  HorizontalAlignment="Center" Margin="0,65,0,0" VerticalAlignment="Top" Foreground="{DynamicResource MyTextColor}" FontSize="14"/>
            <Button Width="120" Content="Заменить" Height="20" HorizontalAlignment="Center" x:Name="DelButton" VerticalAlignment="Center" Margin="0,30,0,0" Click="DelButton_Click" />
            <Button Width="120" Content="Создать копию" Height="20" HorizontalAlignment="Center"  x:Name="CopyButton" VerticalAlignment="Center" Margin="0,80,0,0" Click="CopyButton_Click" />
            <Button Width="120" Content="А ничего не делать" Height="20" HorizontalAlignment="Center"  x:Name="NothingButton" VerticalAlignment="Center" Margin="0,130,0,0" Click="NothingButton_Click" />
        </Grid>
    </Border>
</Window>
